package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-接口-mtnfg接口对象 element_port_mtn_fg
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementPortMtnFg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** 端口 */
    @Excel(name = "端口")
    private String terminalName;

    /** 端口速率类型 */
    @Excel(name = "端口速率类型")
    private String terminalSpeedType;

    /** 端口使能 */
    @Excel(name = "端口使能")
    private String terminalEnable;

    /** 端口标注 */
    @Excel(name = "端口标注")
    private String terminalLabel;

    /** 端口描述 */
    @Excel(name = "端口描述")
    private String terminalDesc;

    /** 细粒度业务盘保护组 */
    @Excel(name = "细粒度业务盘保护组")
    private String protectGroup;

    /** 状态抑制时间(ms) */
    @Excel(name = "状态抑制时间(ms)")
    private String holdMilliseconds;

    /** 时隙模式 */
    @Excel(name = "时隙模式")
    private String accessMode;

    /** 低时延模式 */
    @Excel(name = "低时延模式")
    private String lowLatencyMode;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setTerminalName(String terminalName) 
    {
        this.terminalName = terminalName;
    }

    public String getTerminalName() 
    {
        return terminalName;
    }
    public void setTerminalSpeedType(String terminalSpeedType) 
    {
        this.terminalSpeedType = terminalSpeedType;
    }

    public String getTerminalSpeedType() 
    {
        return terminalSpeedType;
    }
    public void setTerminalEnable(String terminalEnable) 
    {
        this.terminalEnable = terminalEnable;
    }

    public String getTerminalEnable() 
    {
        return terminalEnable;
    }
    public void setTerminalLabel(String terminalLabel) 
    {
        this.terminalLabel = terminalLabel;
    }

    public String getTerminalLabel() 
    {
        return terminalLabel;
    }
    public void setTerminalDesc(String terminalDesc) 
    {
        this.terminalDesc = terminalDesc;
    }

    public String getTerminalDesc() 
    {
        return terminalDesc;
    }
    public void setProtectGroup(String protectGroup) 
    {
        this.protectGroup = protectGroup;
    }

    public String getProtectGroup() 
    {
        return protectGroup;
    }
    public void setHoldMilliseconds(String holdMilliseconds) 
    {
        this.holdMilliseconds = holdMilliseconds;
    }

    public String getHoldMilliseconds() 
    {
        return holdMilliseconds;
    }
    public void setAccessMode(String accessMode) 
    {
        this.accessMode = accessMode;
    }

    public String getAccessMode() 
    {
        return accessMode;
    }
    public void setLowLatencyMode(String lowLatencyMode) 
    {
        this.lowLatencyMode = lowLatencyMode;
    }

    public String getLowLatencyMode() 
    {
        return lowLatencyMode;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
            .append("terminalName", getTerminalName())
            .append("terminalSpeedType", getTerminalSpeedType())
            .append("terminalEnable", getTerminalEnable())
            .append("terminalLabel", getTerminalLabel())
            .append("terminalDesc", getTerminalDesc())
            .append("protectGroup", getProtectGroup())
            .append("holdMilliseconds", getHoldMilliseconds())
            .append("accessMode", getAccessMode())
            .append("lowLatencyMode", getLowLatencyMode())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
